﻿using System;
using Spring.Web.UI;

namespace d3PrtDgn.Web.Admin
{
	public partial class AdminTemplate : MasterPage
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			UpdateTitle();
		}

		/// <summary>
		/// Updates page title according to UserCulture
		/// </summary>
		private void UpdateTitle()
		{
			this.head.Title = GetMessage("defaultTitle") + " - " + this.Page.GetMessage("localTitle");
		}
	}
}
